daniel [Wed, 13 Jun 2012 10:31:30 +0000 (12:31 +0200)]
Merge branch 'Wikidata' of ssh://gerrit.wikimedia.org:29418/mediawiki/core into Wikidata
daniel [Wed, 13 Jun 2012 10:30:55 +0000 (12:30 +0200)]
make SqlDataUpdate connect to database only when starting the transaction, not in the constructor
daniel [Wed, 13 Jun 2012 10:00:28 +0000 (12:00 +0200)]
un-deprecate WikiPage::getAutoDeleteReason
daniel [Wed, 13 Jun 2012 09:59:40 +0000 (11:59 +0200)]
make ApiPurge use ContentHandler for parsing
daniel [Wed, 13 Jun 2012 09:58:05 +0000 (11:58 +0200)]
make revision api aware of content models
daniel [Tue, 12 Jun 2012 09:12:49 +0000 (11:12 +0200)]
use Message::content() to get message content
daniel [Tue, 12 Jun 2012 09:12:49 +0000 (11:12 +0200)]
use Message::content() to get message content
daniel [Tue, 12 Jun 2012 09:12:19 +0000 (11:12 +0200)]
fix indent, cleanup comments
daniel [Tue, 12 Jun 2012 09:11:37 +0000 (11:11 +0200)]
fix broken global reference
daniel [Tue, 12 Jun 2012 08:32:42 +0000 (10:32 +0200)]
apply preSaveTransform to script pages
daniel [Mon, 11 Jun 2012 15:45:59 +0000 (17:45 +0200)]
Merge branch 'master' of ssh://gerrit.wikimedia.org:29418/mediawiki/core into Wikidata
daniel [Mon, 11 Jun 2012 15:45:17 +0000 (17:45 +0200)]
minor cleanup in comments in ContentHandler
daniel [Mon, 11 Jun 2012 15:41:34 +0000 (17:41 +0200)]
fix logic error
daniel [Mon, 11 Jun 2012 14:32:34 +0000 (16:32 +0200)]
some cleanup in WikiPage
daniel [Mon, 11 Jun 2012 14:19:39 +0000 (16:19 +0200)]
some cleanup in Title and WikiPage
Siebrand Mazeland [Mon, 11 Jun 2012 14:17:36 +0000 (16:17 +0200)]
Localisation updates from translatewiki.net.
Updates for magic words localisation.
Change-Id: Ia7b06f9a4af8f4a22fd2ce57e4c48e29fae67e07
Siebrand Mazeland [Mon, 11 Jun 2012 14:09:37 +0000 (16:09 +0200)]
Localisation updates from translatewiki.net.
Updates for special page localisation.
Change-Id: I1cc92f63cb256e5fdd92da9f1b21a277a5af25ad
Reedy [Mon, 11 Jun 2012 13:39:15 +0000 (13:39 +0000)]
Merge "Increase maximum IPv6 range block size to /19"
Tim Starling [Fri, 8 Jun 2012 02:26:05 +0000 (12:26 +1000)]
Increase maximum IPv6 range block size to /19
Increased maximum IPv6 range block size from /32 to /19 and documented
my decision-making process. Many ISPs will be larger than /32 since /32
only allows for 64k sites at most.
Change-Id: Ia25e156fd8234519c4d74f1d41d93f94a313ce14
daniel [Mon, 11 Jun 2012 13:36:52 +0000 (15:36 +0200)]
make sure page_content_model gets loaded where appropriate in Title and LinkCache
Platonides [Thu, 31 May 2012 21:41:01 +0000 (23:41 +0200)]
Remove more register_globals remote includes in the tests
backupPrefetchTest.php, backupTextPassTest.php, fetchTextTest.php
and getSlaveServerTest.php
Change-Id: Ie309f4377e4199d80c0f45dc761d3a14b8d00ec2
daniel [Mon, 11 Jun 2012 12:10:12 +0000 (14:10 +0200)]
make Message content available as Content object
daniel [Mon, 11 Jun 2012 10:35:46 +0000 (12:35 +0200)]
Moved redirect extraction from Title to WikitextContent.
All code that wants to know redirects should use the methods
from the Content interface, the newFromRedirect methods in
Title are deprecated.
daniel [Mon, 11 Jun 2012 10:21:56 +0000 (12:21 +0200)]
make getContentObject() public for now, fix occurances later
daniel [Mon, 11 Jun 2012 07:11:44 +0000 (09:11 +0200)]
Merge branch 'Wikidata' of ssh://gerrit.wikimedia.org:29418/mediawiki/core into Wikidata
Reedy [Sun, 10 Jun 2012 23:19:38 +0000 (23:19 +0000)]
Merge "Added missing GPLv2 headers in some places."
Translation updater bot [Sun, 10 Jun 2012 20:29:46 +0000 (20:29 +0000)]
Merge "Localisation updates from translatewiki.net."
Aaron Schulz [Sun, 10 Jun 2012 19:59:23 +0000 (19:59 +0000)]
Merge "Changed two remaining calls to Language::timeanddate() to Language::userTimeAndDate() in includes/specials."
Translation updater bot [Sun, 10 Jun 2012 18:55:19 +0000 (18:55 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I59253d3f54a3e1965a091cfd9f583deb80d2378e
Alexandre Emsenhuber [Sun, 10 Jun 2012 17:40:03 +0000 (19:40 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: I162f57c994765189681ac3fb30f889e648c6c6a1
Alexandre Emsenhuber [Sat, 9 Jun 2012 20:24:16 +0000 (22:24 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: I82ee132a976cfeb3d77ce551295bf6d2d90e14da
Alexandre Emsenhuber [Thu, 7 Jun 2012 20:45:02 +0000 (22:45 +0200)]
Changed two remaining calls to Language::timeanddate() to Language::userTimeAndDate() in includes/specials.
Change-Id: I2825aa96b562b716bf41da3dde3db436c5d40990
Timo Tijhof [Sat, 9 Jun 2012 19:46:32 +0000 (19:46 +0000)]
Merge "mw.language: Document ability to set multiple values at once."
Timo Tijhof [Sat, 9 Jun 2012 15:47:41 +0000 (17:47 +0200)]
mw.language: Document ability to set multiple values at once.
* ResourceLoaderLanguageDataModule uses this but it looked
a bit like an error when looking at the function signature
of setData.
This is the power of mw.Map.
* Fixed indention as well.
* Added missing semi colon.
Change-Id: I1e9e8254862ae08e9a11e55dd42d7e851a56a3cc
Aaron Schulz [Sat, 9 Jun 2012 15:40:15 +0000 (15:40 +0000)]
Merge "Fix PHP notice in
3695486 (Ie35a8b91)."
Reedy [Sat, 9 Jun 2012 14:29:30 +0000 (15:29 +0100)]
jQuery UI 1.8.21
http://blog.jqueryui.com/2012/06/jquery-ui-1-8-21/
Change-Id: Ie389a7275396ac4e5c9e41c2e18e1beae3e43c66
daniel [Sat, 9 Jun 2012 11:42:05 +0000 (13:42 +0200)]
introduced ContentHandler::supportsSections()
daniel [Sat, 9 Jun 2012 11:31:11 +0000 (13:31 +0200)]
use getWikitextForInclusion to get message text from MediaWiki namespace
daniel [Sat, 9 Jun 2012 11:19:52 +0000 (13:19 +0200)]
making Content an interface, introducing AbstractContent as a base class
daniel [Sat, 9 Jun 2012 11:03:59 +0000 (13:03 +0200)]
nicer phpunit
Reedy [Sat, 9 Jun 2012 02:37:38 +0000 (03:37 +0100)]
Add a bit more slave waiting...
Change-Id: I329219bfdd56b57609237fc9f907f2b31628d282
Alexandre Emsenhuber [Fri, 8 Jun 2012 20:42:57 +0000 (22:42 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: I4228ed95446558db71e9084e7d505fc0b783fa53
Aaron Schulz [Fri, 8 Jun 2012 20:32:33 +0000 (20:32 +0000)]
Merge "Use local context to get messages"
daniel [Fri, 8 Jun 2012 10:10:40 +0000 (12:10 +0200)]
get rid of nonsensical $text parameter in WikiText::isRedirect()
Antoine Musso [Fri, 8 Jun 2012 12:29:43 +0000 (14:29 +0200)]
(but 37072) - infinite loop with runJobs.php
This is similar to
fb69ee4 ( https://gerrit.wikimedia.org/r/9116 ) which
fixed nextJobDB.php. This patch make sure runJobs.php does not proceed
jobs listed in $wgJobTypesExcludedFromDefaultQueue , at least not by
default.
We will probably want to factor out common code between runJobs and
nextJobDB.
Change-Id: Id0c8896d7a0d5b58e678db1ce314174d44e1cae3
daniel [Fri, 8 Jun 2012 10:10:40 +0000 (12:10 +0200)]
get rid of nonsensical $text parameter in WikiText::isRedirect()
daniel [Fri, 8 Jun 2012 09:45:10 +0000 (11:45 +0200)]
cleanup for comments and edge cases
daniel [Fri, 8 Jun 2012 09:09:02 +0000 (11:09 +0200)]
fixed RefreshLinksJob
daniel [Fri, 8 Jun 2012 07:43:45 +0000 (09:43 +0200)]
generate links and other secondary data for RefreshLinks via ContentHandler
daniel [Fri, 8 Jun 2012 07:45:07 +0000 (09:45 +0200)]
comments and reminders for stuff not yet covered by ContentHandler
daniel [Fri, 8 Jun 2012 07:43:45 +0000 (09:43 +0200)]
generate links and other secondary data for RefreshLinks via ContentHandler
daniel [Fri, 8 Jun 2012 07:42:04 +0000 (09:42 +0200)]
render file description via ContentHandler
daniel [Fri, 8 Jun 2012 07:41:04 +0000 (09:41 +0200)]
use Content::getWikitextForTransclusion() for message text
daniel [Fri, 8 Jun 2012 07:07:35 +0000 (09:07 +0200)]
use getSerializedData() when compressing the text store.
daniel [Fri, 8 Jun 2012 07:06:56 +0000 (09:06 +0200)]
added some fixme reminders for providing preview text for content objects
daniel [Fri, 8 Jun 2012 07:06:07 +0000 (09:06 +0200)]
include serialized content in new pages feed
Alexandre Emsenhuber [Fri, 8 Jun 2012 07:05:57 +0000 (09:05 +0200)]
Fix PHP notice in
3695486 (Ie35a8b91).
The error was: Notice: Undefined variable: line in includes/specials/SpecialMergeHistory.php on line 289
Change-Id: I23186c2c5682ae8b91978a981f5aceda67cd1b46
daniel [Fri, 8 Jun 2012 07:05:30 +0000 (09:05 +0200)]
use Content::getTextForSearchIndex()
daniel [Fri, 8 Jun 2012 07:03:18 +0000 (09:03 +0200)]
use Content::getWikitextForTransclusion() when fetching template text
daniel [Fri, 8 Jun 2012 07:02:35 +0000 (09:02 +0200)]
make isValidMoveTarget() use content object instead of regular expressions
daniel [Fri, 8 Jun 2012 06:31:28 +0000 (08:31 +0200)]
getting rid of getRawText()
Aaron Schulz [Thu, 7 Jun 2012 22:37:17 +0000 (22:37 +0000)]
Merge "Userlogin: Do not add a language link if it's the currently used language"
Aaron Schulz [Thu, 7 Jun 2012 21:35:43 +0000 (21:35 +0000)]
Merge "revision id in export.xsd is not optional"
Timo Tijhof [Thu, 7 Jun 2012 21:09:32 +0000 (21:09 +0000)]
Merge "ResourceLoaderLanguageDataModule: clean up"
Aaron Schulz [Thu, 7 Jun 2012 21:03:32 +0000 (21:03 +0000)]
Merge "Use Title::newFromRow in ApiPageSet::processDbRow"
Aaron Schulz [Thu, 7 Jun 2012 21:02:41 +0000 (21:02 +0000)]
Merge "do not output numberofviews, if $wgDisableCounters = true"
Aaron Schulz [Thu, 7 Jun 2012 20:59:57 +0000 (20:59 +0000)]
Merge "Change order of login/create account"
Demon [Thu, 7 Jun 2012 20:04:08 +0000 (20:04 +0000)]
Merge "[FileBackend] Fixed writer-populater cache race condition."
Aaron [Thu, 7 Jun 2012 19:50:43 +0000 (12:50 -0700)]
[FileBackend] Fixed writer-populater cache race condition.
* Set the keys to PURGED on purge. We already only treat array values
in cache is valid. This means that if a process reads the file, it
caches in the meantime, and then the process tries to cache the file,
the stale version will not be cached.
Change-Id: I7eb7b4529f8cea44b0d68c9149db4bcf100ac9d2
Translation updater bot [Thu, 7 Jun 2012 19:25:22 +0000 (19:25 +0000)]
Merge "Localisation updates from translatewiki.net."
Aaron Schulz [Thu, 7 Jun 2012 19:13:16 +0000 (19:13 +0000)]
Merge "Misc fixes in RevisionDelete.php."
Translation updater bot [Thu, 7 Jun 2012 18:29:09 +0000 (18:29 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I33bccfb52d014f542dd37a33731853f95cefcd6b
Demon [Thu, 7 Jun 2012 17:43:53 +0000 (17:43 +0000)]
Merge "Added missing GPLv2 headers in some places."
Siebrand Mazeland [Thu, 7 Jun 2012 16:25:17 +0000 (18:25 +0200)]
Localisation updates from translatewiki.net.
Updates for magic words.
Change-Id: I23e105d26fc56e53dff0e141ebb54b77bc219a6e
Siebrand Mazeland [Thu, 7 Jun 2012 16:12:26 +0000 (16:12 +0000)]
Merge "Localisation updates from translatewiki.net."
Siebrand [Thu, 7 Jun 2012 15:58:56 +0000 (15:58 +0000)]
Merge "(bug 37181) Removed hard coded parentheses in SpecialMIMEsearch.php"
Siebrand Mazeland [Thu, 7 Jun 2012 15:53:42 +0000 (17:53 +0200)]
Localisation updates from translatewiki.net.
Updates for special page aliases.
Change-Id: I47e5143dfb848754f2e5b72085b5171a2c89027a
Timo Tijhof [Thu, 7 Jun 2012 15:41:22 +0000 (17:41 +0200)]
Update jquery.qunit to upstream v1.7.0
* Upstream
- tag: v1.5.0 -> v1.7.0
- tree: https://github.com/jquery/qunit/tree/v1.7.0
- commit: https://github.com/jquery/qunit/commit/
0d596a809dea881f05b3abd53c3fd70dcf876c69
* Misc:
- Updated existing release-note entry for QUnit update
- Moved upstream updates away from "bug fixes".
Change-Id: I8da92dc38cad5dc4b04459a3e876dd028f2cf0f6
daniel [Thu, 7 Jun 2012 15:35:37 +0000 (17:35 +0200)]
Added consistency checks to Revision.
This is to avoid corruption arising from confusion about which revision
uses which data model and format.
robin [Thu, 7 Jun 2012 15:25:38 +0000 (17:25 +0200)]
Userlogin: Do not add a language link if it's the currently used language
(Just display the language name without a link)
Change-Id: I604d2905d73faf5b2242fdbf943262ae22e58a2c
daniel [Thu, 7 Jun 2012 15:23:05 +0000 (17:23 +0200)]
some cleanup and checks in the Revision class
daniel [Thu, 7 Jun 2012 14:36:58 +0000 (16:36 +0200)]
Merge branch 'master' of ssh://gerrit.wikimedia.org:29418/mediawiki/core into Wikidata
daniel [Thu, 7 Jun 2012 12:57:43 +0000 (14:57 +0200)]
cleanup and fixes for secondary data updates
Alexandre Emsenhuber [Thu, 7 Jun 2012 11:06:19 +0000 (13:06 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: Ia79634e62a7aee293d4e8534082f503bbc2b614f
daniel [Thu, 7 Jun 2012 11:02:54 +0000 (13:02 +0200)]
always record content model and format in export/dumps
Alexandre Emsenhuber [Thu, 7 Jun 2012 08:39:33 +0000 (10:39 +0200)]
Misc fixes in RevisionDelete.php.
* Use Linker::linkKnown() for links to revisions, we know that the page exists and other classes might be false since they might be old revisions
* Escape the result of Language::userTimeAndDate(), just in case
* Rewrote some code to do early return instead of nested if()'s
* Define variables only when they will actually be used
Change-Id: Ie1f16029020f980abba35d6322b89c95326f107b
Siebrand [Thu, 7 Jun 2012 08:18:09 +0000 (08:18 +0000)]
Merge "(bug 37368) Interlanguage link title for Uzbek is Oʻzbekcha"
daniel [Thu, 7 Jun 2012 08:14:28 +0000 (10:14 +0200)]
include sha1 in export. this went missing somehow.
Aaron Schulz [Thu, 7 Jun 2012 06:16:19 +0000 (06:16 +0000)]
Merge "Fix error message for MySQL connection failures"
Aaron Schulz [Wed, 6 Jun 2012 22:43:50 +0000 (22:43 +0000)]
Merge "Change of Title->exists() to Title->isKnown() for subpage links"
Subramanya Sastry [Wed, 6 Jun 2012 22:16:01 +0000 (17:16 -0500)]
Added nested-list tests for covering additional cases for Parsoid.
Change-Id: Ic0ea44a5d965bfd27b34a790f18ef29f2ac20d6a
Alexandre Emsenhuber [Wed, 6 Jun 2012 20:42:13 +0000 (22:42 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: I7144b26103ef644fbec751ea476760566757cae3
Timo Tijhof [Wed, 6 Jun 2012 20:07:12 +0000 (22:07 +0200)]
ResourceLoaderLanguageDataModule: clean up
Change-Id: Id64e7ec8f22cc74926ff374ca207bf19552398aa
Translation updater bot [Wed, 6 Jun 2012 19:44:32 +0000 (19:44 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I8fd9d79acd796406eec2a6bd2f67c10be03276ab
Dereckson [Wed, 6 Jun 2012 19:16:25 +0000 (21:16 +0200)]
(bug 37368) Interlanguage link title for Uzbek is Oʻzbekcha
Change-Id: Iff0ba3b5a9ffcc2b15ff267053a6105ee581132b
Demon [Wed, 6 Jun 2012 18:23:46 +0000 (18:23 +0000)]
Merge "(bug 37138) Fix broken Google sitesearch in DatabaseError"
umherirrender [Wed, 6 Jun 2012 17:48:27 +0000 (19:48 +0200)]
Change order of login/create account
With this the position of the login link in the right corner is not
changed with $wgUseCombindedLoginLink = false;
Gerrit has also first "register" and than "log in" in the corner.
Change-Id: I8d1000cf53ab792b3f69438004e5ae181acba645
Aaron Schulz [Wed, 6 Jun 2012 17:29:33 +0000 (17:29 +0000)]
Merge "Use local context to get messages and don't use implicit Message object to string conversion."
umherirrender [Wed, 6 Jun 2012 17:29:16 +0000 (19:29 +0200)]
do not output numberofviews, if $wgDisableCounters = true
Change-Id: I9975dceedeffafadf560ed71238c51b94eb8c3ad
Catrope [Wed, 6 Jun 2012 17:03:27 +0000 (17:03 +0000)]
Merge "Increased uselessly low $wgBlockCIDRLimit default for IPv6."